
public class Decorator extends Source implements Sourceable {

	private Source source;

	public Decorator(Source source) {
		super();
		this.source = source;
	}
	
	@Override
	public void method() {
		System.out.println("装饰前期");
		source.method();
		System.out.println("装饰后期");
	}
}
